Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: Remove PHPUnit tests covering core functions #13513

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

aduth
Copy link
Member

@aduth aduth commented Jan 25, 2019

This pull request seeks to remove PHPUnit test suites covering functions provided by WordPress core.

This includes coverage for:

  • WP_Block_Type_Registry (class-block-type-registry-test.php)
  • WP_Block_Type (class-block-type-test.php)
  • do_blocks (class-do-blocks-test.php, class-dynamic-blocks-render-test.php, class-reusable-blocks-render-test.php)
  • parse_blocks (class-performance-test.php)
  • register_block_type, unregister_block_type, get_dynamic_block_names (class-registration-test.php)

See: https://github.com/WordPress/wordpress-develop/tree/master/tests/phpunit/tests/blocks

Testing instructions:

Verify tests pass:

npm test

@aduth aduth added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Jan 25, 2019
Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants